<?php
// +----------------------------------------------------------------------
// | KITEGO-Admin「开箱即用」「人人全栈」
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2024 https://www.kitego.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed KITEGO并不是自由软件，未经许可不能去掉KITEGO相关版权
// +----------------------------------------------------------------------
// | Author: KITEGO Team <bd@kitego.cn>
// +----------------------------------------------------------------------

use think\facade\Route;

// 以下是amis接口
Route::get('/setting/api/storage/schema', 'v1.setting.storage.StorageController/schema')->option(['realName' => '存储列表页面结构']);
Route::get('/setting/api/storage/list', 'v1.setting.storage.StorageController/list')->option(['realName' => '查询存储方式']);
Route::post('/setting/api/storage/add', 'v1.setting.storage.StorageController/add')->option(['realName' => '新增存储方式']);
Route::post('/setting/api/storage/edit', 'v1.setting.storage.StorageController/edit')->option(['realName' => '编辑存储方式']);
Route::post('/setting/api/storage/delete', 'v1.setting.storage.StorageController/delete')->option(['realName' => '删除存储方式']);
Route::post('/setting/api/storage/bulkDelete', 'v1.setting.storage.StorageController/bulkDelete')->option(['realName' => '批量删除存储方式']);

Route::get('/setting/config/schema', 'v1.setting.config.SystemConfigController/schema')->option(['realName' => '系统配置页面结构']);
Route::get('/setting/config/list', 'v1.setting.config.SystemConfigController/listSystemConfig')->option(['realName' => '读取系统配置']);
Route::post('/setting/config/edit', 'v1.setting.config.SystemConfigController/editSystemConfig')->option(['realName' => '编辑系统配置']);